<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>龙现东海--风采展示</title>
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/reset.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/swiper_2.7.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/header.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/footer.css">
    <link rel="stylesheet" href="{{$static_path}}/static/css/dh/dh-exhibition.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/common.css">
    <script src="{{$static_path}}/static/common/js/jquery-1.11.3.js"></script>

</head>

<body>
    <!-- 头部部分 -->
    {{include file="header.tpl"}}
    <!-- 内容区域 -->
    <div class="dh-main">
        <div class="dh-banner"></div>
        <div class="main-content">
            <div class="main-left">
                <div class="dh-top1">
                    <p class="h-top">龙现东海</p>
                </div>
                <ul class="dh-list">
                    {{navigation parentid="2"}}
                        {{foreach $list as $k => $v}}
                            <li> <a href="{{$v['url']}}" {{if $get.category|in_array:$v['allchildurl']}}class="dh-acitve"{{/if}}>{{$v['name']}}</a></li>
                        {{/foreach}}
                    {{/navigation}}
                </ul>
            </div>
            <div class="main-right">
                {{crumbs url=$smarty.get.category}}
                <div class="right-txt-box">
                    <h1>{{$title}}</h1>
                    <div class="wz">
                        <span class="wz-span">您的位置：<a href="">首页</a> > {{$crumbs}} </span>
                    </div>
                </div>
                {{/crumbs}}
                <!-- 右侧的内容 -->
                <div class="box-txt">
                    <!-- <div class="zs-tabs">
                        <p class="zs-acitve">网点风采</p>
                        <p>投顾菁英汇</p>
                    </div> -->
                    <div class="list-tabs">
                        {{content category=$smarty.get.category pageSize=9 pageArgs=[3,4,5,6,7]}}
                        <div class="tabs1-active">
                            <ul class="zs-list-tabs">
                                {{foreach $list as $k => $v}}
                                <li style="height: auto">
                                    <a href="#">
                                        <div class="rws-img">
                                            <img src="{{$v['preview'][0]}}" alt="" style="max-width: 100%">
                                            <span>
                                                {{$v['add_time']|mb_substr:'0':'4'}} <strong>{{$v['add_time']|mb_substr:'5':'5'}}</strong>
                                            </span>
                                        </div>

                                        <p class="txt-p">{{$v['title']}}</p>
                                        <span class="txt-span"></span>
                                        <!-- <img class="txt-img" src="{{$static_path}}/static/images/dh-exhibition/yan_img.png" alt="">
                                        <b class="txt-b">{{$v['pc_preview_count']}}</b> -->
                                    </a>
                                </li>
                                {{/foreach}}
                            </ul>
                            <!-- 分页 -->
                            <div class="dywPages">
                                {{$pageInfo['html']}}
                            </div>
                        </div>
                        {{/content}}
                    </div>

                </div>
                <div>
                </div>

            </div>

        </div>


    </div>

    <!--放一个id为footer的div,把footer.html加载到这块-->
    {{include file="footer.tpl"}}
    <!-- 底部部分 -->
</body>

<!-- 加载头尾 -->

<script src="{{$static_path}}/static/common/js/load.js"></script>
<script src="{{$static_path}}/static/common/js/swiper_2.7.js"></script>
<script>

    $('.zs-tabs>p').click(function () {
        $(this).addClass('zs-acitve').siblings().removeClass('zs-acitve')
        $('.tabs1-active').eq($(this).index()).show().siblings().hide()
    })
</script>
<script>
    /*高亮左侧菜单*/
    // $(document).ready(function () {
    //     $(".dh-list li>a").each(function (v, i) {
    //         $this = $(this);

    //         if( parseInt(window.location.href.indexOf($this.attr('href'))) > 0 ){
    //             $(this).addClass("dh-acitve");
    //         }


    //     });

    // });

</script>
</html>